package com.axc.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.axc.system.dao.DictinoaryDao;
import com.axc.system.domain.DictinoaryDO;
import com.axc.system.service.DictinoaryService;



@Service
public class DictinoaryServiceImpl implements DictinoaryService {
	@Autowired
	private DictinoaryDao dictinoaryDao;

	@Override
	public DictinoaryDO get(Long id){
		return dictinoaryDao.get(id);
	}
	
	@Override
	public DictinoaryDO GetByModel(DictinoaryDO model){
		return dictinoaryDao.GetByModel(model);
	}
	
	@Override
	public List<DictinoaryDO> list(Map<String, Object> map){
		return dictinoaryDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return dictinoaryDao.count(map);
	}
	
	@Override
	public int save(DictinoaryDO dictinoary){
		return dictinoaryDao.save(dictinoary);
	}
	
	@Override
	public int update(DictinoaryDO dictinoary){
		return dictinoaryDao.update(dictinoary);
	}
	
	@Override
	public int remove(Long id){
		return dictinoaryDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return dictinoaryDao.batchRemove(ids);
	}

	@Override
	public List<Map<String, Object>> listDictoryKeyValue(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return dictinoaryDao.listDictoryKeyValue(map);
	}

	@Override
	public String getDictoryKeyValue(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return dictinoaryDao.getDictoryKeyValue(map);
	}
	
}
